<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!--JSTL core tag need to add jstl 1.2 jar to lib-->
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<html>
<head><title>Struts 2 Training Materials</title>
</head>

<body>
<c:set var="root" value="${pageContext.request.contextPath}"/>
<div align="center">
    <center>
        <table border="1" cellspacing="1" width="400">
            <tr>
                <td width="390"><font size="4"><b>Struts 2 Config Controller</b></font></td>
            </tr>
            <tr>
                <td width="384">
                    <ul>
                        <li>
                            <a href="#">Configure Filter Dispatcher - Controller</a>
                            <br>
                            Filter Dispatcher need to configure in deployment descriptor. (web.xml)
                            >>>GOTO web.xml
                        </li>
                        <li>
                            <a href="#">Configure URL pattern</a>
                            <br>
                            Forward the type of request to filter dispatcher. (web.xml)
                            >>>GOTO web.xml
                        </li>
                        <li>
                            <a href="#">Configure struts.xml</a>
                            <br>
                            >>>GOTO struts.xml
                            <br>
                        </li>
                        <li>
                            <a href="${root}/shipxpress/urlTagAction.action">Test Me</a>
                        </li>
                        <li>
                            <a href="<s:url action="shipxpress/urlTagActionWildcard1.action"/>">Test Me (using struts 2
                                tag libs)</a>
                            <br>
                            <s:a href="shipxpress/urlTagActionWildcard2.action">Test Me (using struts 2 tag libs)</s:a>
                        </li>
                    </ul>
                </td>
            </tr>
            <tr>
                <td>
                    <a href="${root}/index.jsp">HOME</a>
                </td>
            </tr>
        </table>
    </center>
</div>
</body>
</html>